import React from "react";
//采集管理
import AcquisitionCreate from "../pages/acquisition/AcquisitionCreate";
import AcquisitionAdd from "../pages/acquisition/AcquisitionAdd";
import AcquisitionIn from "../pages/acquisition/AcquisitionIn";
import AcquisitionOut from "../pages/acquisition/AcquisitionOut";
import AcquisitionQuery from "../pages/acquisition/AcquisitionQuery";
//候选筛选菌株管理
import StrainCreate from "../pages/strain/StrainCreat";
import StrainAdd from "../pages/strain/StrainAdd";
import StrainSeq from "../pages/strain/StrainSeq";
import StrainIn from "../pages/strain/StrainIn";
import StrainOut from "../pages/strain/StrainOut";
import StrainProduct from "../pages/strain/StrainProduct";
//培养基管理
import MediumAdd from "../pages/medium/MediumAdd";
import MediumQuery from "../pages/medium/MediumQuery";
import MediumUpdate from "../pages/medium/MediumUpdate";
//筛选菌株管理
import ScreeningSaveCreate from "../pages/screening library/ScreeningSaveCreate";
import ScreeningSaveInfo from "../pages/screening library/ScreeningSaveInfo";
import ScreeningSaveIn from "../pages/screening library/ScreeningSaveIn";
import ScreeningSaveOut from "../pages/screening library/ScreeningSaveOut";
import ScreeningSaveReview from "../pages/screening library/ScreeningSaveReview";
import ScreeningSaveQuery from "../pages/screening library/ScreeningSaveQuery";
import ScreeningSaveReturn from "../pages/screening library/ScreeningSaveReturn";
import ScreeningSaveShare from "../pages/screening library/ScreeningSaveShare";
//发酵库管理
import FermentationCreate from "../pages/fermentation/FermentationCreate";
import FermentationAdd from "../pages/fermentation/FermentationAdd";
import FermentationQuery from "../pages/fermentation/FermentationQuery";
import FermentationIn from "../pages/fermentation/FermentationIn";
import FermentationInfo from "../pages/fermentation/FermentationInfo";
import FermentationOut from "../pages/fermentation/FermentationOut";
//粗提品管理
import CrudeExtractCreate from "../pages/crude extract/CrudeExtractCreate";
import CrudeExtractInfo from "../pages/crude extract/CrudeExtractInfo";
import CrudeExtractIn from "../pages/crude extract/CrudeExtractIn";
import CrudeExtractOut from "../pages/crude extract/CrudeExtractOut";
import CrudeExtractFeedback from "../pages/crude extract/CrudeExtractFeedback";
//初筛活性
import ActivityScreeningAdd from "../pages/activity screening/ActivityScreeningAdd";
import ActivityScreeningCreate from "../pages/activity screening/ActivityScreeningCreate";
import ActivityScreeningEntering from "../pages/activity screening/ActivityScreeningEntering";
import ActivityScreeningDecide from "../pages/activity screening/ActivityScreeningDecide";
import ActivityScreeningReport from "../pages/activity screening/ActivityScreeningReport";
import ActivityScreeningQuery from "../pages/activity screening/ActivityScreeningQuery";
//复筛活性
import SecondaryScreeningCreate from "../pages/secondary screening/SecondaryScreeningCreate";
import SecondaryScreeningInfo from "../pages/secondary screening/SecondaryScreeningInfo";
import SecondaryScreeningEntering from "../pages/secondary screening/SecondaryScreeningEntering";
import SecondaryScreeningDecide from "../pages/secondary screening/SecondaryScreeningDecide";
import SecondaryScreeningReport from "../pages/secondary screening/SecondaryScreeningReport";
import SecondaryScreeningQuery from "../pages/secondary screening/SecondaryScreeningQuery";
//筛选方法模型管理
import ManageAdd from "../pages/management/ManageAdd";
import ManageQuery from "../pages/management/ManageQuery";
//流分库管理
import FlowScreenCreate from "../pages/flow screening/FlowScreenCreate";
import FlowScreenInfo from "../pages/flow screening/FlowScreenInfo";
import FlowScreenIn from "../pages/flow screening/FlowScreenIn";
import FlowScreenOut from "../pages/flow screening/FlowScreenOut";
import FlowScreenFeedback from "../pages/flow screening/FlowScreenFeedback";
//化合物库管理
import CompoundCreate from "../pages/compound/CompoundCreate";
import CompoundInfo from "../pages/compound/CompoundInfo";
import CompoundIn from "../pages/compound/CompoundIn";
import CompoundOut from "../pages/compound/CompoundOut";
import CompoundFeedback from "../pages/compound/CompoundFeedback";
const Router = [
  // 采集管理 acquisition
  { 
     label: "采集样品管理",
    children: [
      {
        label: "启动任务",
        key: "/acquisition/create",
        component: <AcquisitionCreate />
      },
      {
        label: "添加采集样品",
        key: "/acquisition/add",
        component: <AcquisitionAdd />
      },
      {
        label: "查询与修改",
        key: "acquisition/query",
        component: <AcquisitionQuery />
      },
      {
        label: "采集样品入库",
        key: "/acquisition/in",
        component: <AcquisitionIn />
      },
      {
        label: "采集样品出库",
        key: "/acquisition/out",
        component: <AcquisitionOut />
      }
    ]
  },
  // 候选筛选菌株管理 strain
  {
    label: "候选筛选菌株管理",
    children: [
      {
        label: "启动任务",
        key: "/strain/create",
        component: <StrainCreate />
      },
      {
        label: "新增分离菌株信息",
        key: "/strain/add",
        component: <StrainAdd />
      },
      {
        label: "新增分离菌株序列排重",
        key: "/strain/seq",
        component: <StrainSeq />
      },
      {
        label: "查改汇交",
        key: "/strain/in",
        component: <StrainIn />
      },
            {
        label: "退回菌株",
        key: "/strain/out",
        component: <StrainOut />
      }, 
    ]
  },
  // 培养基管理 medium
  {
    label: "培养基管理",
    children: [
      { label: "增加培养基", key: "/medium/add", component: <MediumAdd /> },
      {
        label: "查询培养基",
        key: "/medium/query",
        component: <MediumQuery />
      },
    ]
  },
  // 筛选菌株管理 screening library
  {
    label: "筛选菌株管理",
    children: [
      {
        label: "启动任务",
        key: "/screening_library/create",
        component: <ScreeningSaveCreate />
      },
      {
        label: "筛选菌株信息",
        key: "/screening_library/info",
        component: <ScreeningSaveInfo />
      },
      {
        label: "筛选菌株入库",
        key: "/screening_library/in",
        component: <ScreeningSaveIn />
      },
      {
        label: "筛选菌株出库",
        key: "/screening_library/out",
        component: <ScreeningSaveOut />
      },
      {
        label: "筛选菌株复核",
        key: "/screening_library/review",
        component: <ScreeningSaveReview />
      },
      {
        label: "共享结果反馈",
        key: "/screening_library/share",
        component: <ScreeningSaveShare />
      }
    ]
  },
  // 发酵库管理 fermentation
  {
    label: "发酵液库管理",
    children: [
      {
        label: "启动任务",
        key: "/fermentation/create",
        component: <FermentationCreate />
      },
      {
        label: "发酵液信息",
        key: "/fermentation/info",
        component: <FermentationInfo />
      },
      {
        label: "发酵液入库",
        key: "/fermentation/in",
        component: <FermentationIn />
      },
      {
        label: "发酵液出库",
        key: "/fermentation/out",
        component: <FermentationOut />
      },
      {
        label: "查询与修改",
        key: "/fermentation/query",
        component: <FermentationQuery />
      },
    ]
  },
  // 粗提品管理 crude extract
  {
    label: "粗提品管理",
    children: [
      {
        label: "启动任务",
        key: "/crude_extract/create",
        component: <CrudeExtractCreate />
      },
      {
        label: "粗提品信息库",
        key: "/crude_extract/info",
        component: <CrudeExtractInfo />
      },
      {
        label: "粗提品入库",
        key: "/crude_extract/in",
        component: <CrudeExtractIn />
      },
      {
        label: "粗提品出库",
        key: "/crude_extract/out",
        component: <CrudeExtractOut />
      },
      {
        label: "共享结果反馈",
        key: "/crude_extract/feedback",
        component: <CrudeExtractFeedback />
      }
    ]
  },
  // 筛选方法模型管理 management
  {
  label: "筛选方法模型管理",
  children: [
    { label: "添加", key: "/management/add" ,component: <ManageAdd />},
    { label: "查询", key: "/management/query" ,component: <ManageQuery />}
  ]
  },
  // 初筛活性 activity screening
  {
    label: "初筛活性",
    children: [
      { label: "启动任务", key: "/activity_screening/create",component: <ActivityScreeningCreate /> },
      // 20211207确定去掉 {label: "初筛添加",key:"/activity_screening/add",component: <ActivityScreeningAdd />},
      { label: "初筛录入", key: "/activity_screening/entering" ,component: <ActivityScreeningEntering />},
      { label: "初筛判定", key: "/activity_screening/decide" ,component: <ActivityScreeningDecide />},
      { label: "初筛报告", key: "/activity_screening/report" ,component: <ActivityScreeningReport />},
      { label: "查询修改", key: "/activity_screening/query"  ,component: <ActivityScreeningQuery />}
    ]
  },
   // 复筛活性 affination screenings
   {
    label: "复筛活性",
    children: [
      { label: "启动任务", key: "/secondarycreening/create",component: <SecondaryScreeningCreate /> },
      // 20211207确定去掉 { label: "复筛发酵信息", key: "/secondarycreening/info",component: <SecondaryScreeningInfo /> },   
      { label: "复筛录入", key: "/secondaryscreening/entering",component: <SecondaryScreeningEntering /> },
      { label: "复筛判定", key: "/secondaryscreening/decide" ,component: <SecondaryScreeningDecide />},
      { label: "复筛报告", key: "/secondaryscreening/report" ,component: <SecondaryScreeningReport />},
      { label: "查询修改", key: "/secondaryscreening/query"  ,component: <SecondaryScreeningQuery />},
    ]
  },
   // 流分库管理 flow screening
   {
    label: "流份库管理",
    children: [
      { label: "启动任务", key: "/flow_screening/create"  , component: <FlowScreenCreate />},
      { label: "流份信息库", key: "/flow_screening/info" , component: <FlowScreenInfo /> },
      { label: "流份入库", key: "/flow_screening/in"  , component: <FlowScreenIn />},
      { label: "流份出库", key: "/flow_screening/out" , component: <FlowScreenOut /> },
      { label: "共享结果反馈", key: "/flow_screening/feedback" , component: <FlowScreenFeedback /> }
    ]
  },
  // 化合物库管理 compound
  {
    label: "化合物库管理",
    children: [
      { label: "启动任务", key: "/compound/create" , component: <CompoundCreate /> },
      { label: "化合物信息库", key: "/compound/info" , component: <CompoundInfo /> },
      { label: "化合物入库", key: "/compound/in"  , component: <CompoundIn />},
      { label: "化合物出库", key: "/compound/out" , component: <CompoundOut /> },
      { label: "共享结果反馈", key: "/compound/feedback" , component: <CompoundFeedback /> }
    ]
  }
];
export default Router;
